from django.urls import path
from pays.views import IndexView, AliPayViewSet
from rest_framework import routers

router = routers.SimpleRouter()
router.register('alipay', AliPayViewSet, basename='alipay')

urlpatterns = [
    path('index/', IndexView.as_view()),
]

urlpatterns += router.urls
